package com.ruoyi.project.product.styleView.domain;

import java.util.Objects;

public class StyleView {
    private Long styleId;
    private String styleName;
    private String styleRemark;
    private Integer styleViewSort;

    @Override
    public String toString() {
        return "StyleView{" +
                "styleId=" + styleId +
                ", styleName='" + styleName + '\'' +
                ", styleRemark='" + styleRemark + '\'' +
                ", styleViewSort=" + styleViewSort +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        StyleView styleView = (StyleView) o;
        return Objects.equals(styleId, styleView.styleId) &&
                Objects.equals(styleName, styleView.styleName) &&
                Objects.equals(styleRemark, styleView.styleRemark) &&
                Objects.equals(styleViewSort, styleView.styleViewSort);
    }

    @Override
    public int hashCode() {
        return Objects.hash(styleId, styleName, styleRemark, styleViewSort);
    }

    public Long getStyleId() {
        return styleId;
    }

    public void setStyleId(Long styleId) {
        this.styleId = styleId;
    }

    public String getStyleName() {
        return styleName;
    }

    public void setStyleName(String styleName) {
        this.styleName = styleName;
    }

    public String getStyleRemark() {
        return styleRemark;
    }

    public void setStyleRemark(String styleRemark) {
        this.styleRemark = styleRemark;
    }

    public Integer getStyleViewSort() {
        return styleViewSort;
    }

    public void setStyleViewSort(Integer styleViewSort) {
        this.styleViewSort = styleViewSort;
    }

    public StyleView() {
    }

    public StyleView(Long styleId, String styleName, String styleRemark, Integer styleViewSort) {
        this.styleId = styleId;
        this.styleName = styleName;
        this.styleRemark = styleRemark;
        this.styleViewSort = styleViewSort;
    }
}
